/*******************************************************************
 * Created Sun Mar 20 16:37:09 2011 by Tuxedo V8.0-01 (C++ Bindings)
 *******************************************************************
 */

/*
 * Client Stubs functions: (prodcfg_c.cpp)
 * --------------------------------------
 *
 * This module contains client stub functions for the following
 * Interfaces:
 *
 *    IProdcfg
 *    ProdcfgFactory
 *
 */

#include "prodcfg_c.h"


#define _TC_HASH_Prodcfg_IProdcfg 0
#define _TC_HASH_Prodcfg_ProdcfgFactory 1

static const ::CORBA::Octet TC_Prodcfg_IProdcfg [] = {
	0x17, 0x0e, 0x41, 0xbb, 0x00, 0x00, 0x00, 0x39, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 
	0x00, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x19, 
	0x49, 0x44, 0x4c, 0x3a, 0x50, 0x72, 0x6f, 0x64, 0x63, 0x66, 
	0x67, 0x2f, 0x49, 0x50, 0x72, 0x6f, 0x64, 0x63, 0x66, 0x67, 
	0x3a, 0x31, 0x2e, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x09, 0x49, 0x50, 0x72, 0x6f, 0x64, 0x63, 0x66, 0x67, 
	0x00};
const ::CORBA::TypeCode_ptr Prodcfg::_tc_IProdcfg = OBB::OBB__create_tc((const ::CORBA::Octet *)TC_Prodcfg_IProdcfg);
static ::CORBA::TypeCode_var _tc_Prodcfg_IProdcfg_v = Prodcfg::_tc_IProdcfg;

static const ::CORBA::Octet TC_Prodcfg_ProdcfgFactory [] = {
	0x17, 0x0e, 0x41, 0xbb, 0x00, 0x00, 0x00, 0x43, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 
	0x00, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1f, 
	0x49, 0x44, 0x4c, 0x3a, 0x50, 0x72, 0x6f, 0x64, 0x63, 0x66, 
	0x67, 0x2f, 0x50, 0x72, 0x6f, 0x64, 0x63, 0x66, 0x67, 0x46, 
	0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x3a, 0x31, 0x2e, 0x30, 
	0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x50, 0x72, 0x6f, 0x64, 
	0x63, 0x66, 0x67, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x79, 
	0x00};
const ::CORBA::TypeCode_ptr Prodcfg::_tc_ProdcfgFactory = OBB::OBB__create_tc((const ::CORBA::Octet *)TC_Prodcfg_ProdcfgFactory);
static ::CORBA::TypeCode_var _tc_Prodcfg_ProdcfgFactory_v = Prodcfg::_tc_ProdcfgFactory;


void operator<<=(::CORBA::Any &a, Prodcfg::IProdcfg_ptr obj)
{
    Prodcfg::IProdcfg_ptr new_obj = Prodcfg::IProdcfg::_duplicate (obj);

    a.replace(Prodcfg::_tc_IProdcfg, (void *) & new_obj, (::CORBA::Boolean)CORBA_TRUE);
    return;
}

::CORBA::Boolean operator>>=(const ::CORBA::Any &a, Prodcfg::IProdcfg_ptr &obj)
{
   ::CORBA::TypeCode_var tc_var = a.type();
   if (Prodcfg::_tc_IProdcfg->equal(tc_var))
      {
      obj = *(Prodcfg::IProdcfg_ptr *) a.value();
      return CORBA_TRUE;
      }
   return CORBA_FALSE;
}

OBB::MarshalBuf &operator<<(OBB::MarshalBuf &mb, Prodcfg::IProdcfg_ptr _obj)
{
    mb << (::CORBA::Object_ptr) _obj;
    return mb;
}
OBB::MarshalBuf &operator>>(OBB::MarshalBuf &mb, Prodcfg::IProdcfg_ptr &_obj)
{
    ::CORBA::Object_ptr   tmp_obj_ptr = 0;

    mb >> tmp_obj_ptr;
    if  (mb.status() != OBB_SUCCESS)
        return mb;
    _obj = ::Prodcfg::IProdcfg::_narrow(tmp_obj_ptr, CORBA_FALSE);
    ::CORBA::release(tmp_obj_ptr);
    return mb;
}

OBB::MarshalBuf &operator>>(OBB::MarshalBuf &mb, Prodcfg::IProdcfg_var &_obj)
{
    Prodcfg::IProdcfg_ptr obj_ptr = 0;
    mb >> obj_ptr;
    _obj = obj_ptr;
    return mb;
}
void operator<<=(::CORBA::Any &a, Prodcfg::ProdcfgFactory_ptr obj)
{
    Prodcfg::ProdcfgFactory_ptr new_obj = Prodcfg::ProdcfgFactory::_duplicate (obj);

    a.replace(Prodcfg::_tc_ProdcfgFactory, (void *) & new_obj, (::CORBA::Boolean)CORBA_TRUE);
    return;
}

::CORBA::Boolean operator>>=(const ::CORBA::Any &a, Prodcfg::ProdcfgFactory_ptr &obj)
{
   ::CORBA::TypeCode_var tc_var = a.type();
   if (Prodcfg::_tc_ProdcfgFactory->equal(tc_var))
      {
      obj = *(Prodcfg::ProdcfgFactory_ptr *) a.value();
      return CORBA_TRUE;
      }
   return CORBA_FALSE;
}

OBB::MarshalBuf &operator<<(OBB::MarshalBuf &mb, Prodcfg::ProdcfgFactory_ptr _obj)
{
    mb << (::CORBA::Object_ptr) _obj;
    return mb;
}
OBB::MarshalBuf &operator>>(OBB::MarshalBuf &mb, Prodcfg::ProdcfgFactory_ptr &_obj)
{
    ::CORBA::Object_ptr   tmp_obj_ptr = 0;

    mb >> tmp_obj_ptr;
    if  (mb.status() != OBB_SUCCESS)
        return mb;
    _obj = ::Prodcfg::ProdcfgFactory::_narrow(tmp_obj_ptr, CORBA_FALSE);
    ::CORBA::release(tmp_obj_ptr);
    return mb;
}

OBB::MarshalBuf &operator>>(OBB::MarshalBuf &mb, Prodcfg::ProdcfgFactory_var &_obj)
{
    Prodcfg::ProdcfgFactory_ptr obj_ptr = 0;
    mb >> obj_ptr;
    _obj = obj_ptr;
    return mb;
}

static const struct {
	CORBA::Char    Bucket0 [57];    } _TCC_prodcfg_c_BT = {
        "IDL:Prodcfg/IProdcfg:1.0\000IDL:Prodcfg/ProdcfgFactory:1.0\000"
    };

static  OBBHashTableEntry     _TCC_prodcfg_c_HT [2] = {
    {  -1, 65535 },    {   0,     0 }
    };

static OBB::Status _tcr_Prodcfg_IProdcfg_marsh (void * mh, void *obj)
 {
 OBB::MarshalBuf mb(mh);
 ::Prodcfg::IProdcfg_ptr obj_ptr = (::Prodcfg::IProdcfg_ptr) obj;
 mb << obj_ptr;
 return mb.status();
 }

static OBB::Status _tcr_Prodcfg_IProdcfg_unmarsh (void * mh, void **obj, ::CORBA::Flags flags)
 {
 ::Prodcfg::IProdcfg_ptr obj_ptr;
 OBB::MarshalBuf mb(mh);
 if (flags & OBB_ARG_CLIENT_SIDE && flags & CORBA_ARG_INOUT)
    {
    ::CORBA::release((::Prodcfg::IProdcfg_ptr) (* obj));
    *obj = 0;
    }

 if ((flags & OBB_ARG_SERVER_SIDE && flags &
	(CORBA_ARG_IN | CORBA_ARG_INOUT | CORBA_ARG_OUT)) ||
     (flags & OBB_ARG_CLIENT_SIDE && flags &
	(CORBA_ARG_INOUT | CORBA_ARG_OUT | OBB_RESULT)))
     {
     mb >> obj_ptr;
     *obj = (void *) obj_ptr;
     }

 return mb.status();
 }

static void _tcr_Prodcfg_IProdcfg_copy (void *obj, void **new_obj)
 { 
 ::Prodcfg::IProdcfg * obj_ptr;
 ::Prodcfg::IProdcfg * new_obj_ptr;
 obj_ptr = (::Prodcfg::IProdcfg*) obj;
 new_obj_ptr = ::Prodcfg::IProdcfg::_duplicate(obj_ptr);
 if (new_obj_ptr == 0)
     throw ::CORBA::NO_MEMORY();
 (* new_obj) = (void *) new_obj_ptr;
 return;
 }

static void _tcr_Prodcfg_IProdcfg_delete (void *obj)
 {
 ::Prodcfg::IProdcfg *	obj_ptr;
 obj_ptr = (::Prodcfg::IProdcfg *) obj;
 ::CORBA::release(obj_ptr);
 }

static OBB::Status _tcr_Prodcfg_ProdcfgFactory_marsh (void * mh, void *obj)
 {
 OBB::MarshalBuf mb(mh);
 ::Prodcfg::ProdcfgFactory_ptr obj_ptr = (::Prodcfg::ProdcfgFactory_ptr) obj;
 mb << obj_ptr;
 return mb.status();
 }

static OBB::Status _tcr_Prodcfg_ProdcfgFactory_unmarsh (void * mh, void **obj, ::CORBA::Flags flags)
 {
 ::Prodcfg::ProdcfgFactory_ptr obj_ptr;
 OBB::MarshalBuf mb(mh);
 if (flags & OBB_ARG_CLIENT_SIDE && flags & CORBA_ARG_INOUT)
    {
    ::CORBA::release((::Prodcfg::ProdcfgFactory_ptr) (* obj));
    *obj = 0;
    }

 if ((flags & OBB_ARG_SERVER_SIDE && flags &
	(CORBA_ARG_IN | CORBA_ARG_INOUT | CORBA_ARG_OUT)) ||
     (flags & OBB_ARG_CLIENT_SIDE && flags &
	(CORBA_ARG_INOUT | CORBA_ARG_OUT | OBB_RESULT)))
     {
     mb >> obj_ptr;
     *obj = (void *) obj_ptr;
     }

 return mb.status();
 }

static void _tcr_Prodcfg_ProdcfgFactory_copy (void *obj, void **new_obj)
 { 
 ::Prodcfg::ProdcfgFactory * obj_ptr;
 ::Prodcfg::ProdcfgFactory * new_obj_ptr;
 obj_ptr = (::Prodcfg::ProdcfgFactory*) obj;
 new_obj_ptr = ::Prodcfg::ProdcfgFactory::_duplicate(obj_ptr);
 if (new_obj_ptr == 0)
     throw ::CORBA::NO_MEMORY();
 (* new_obj) = (void *) new_obj_ptr;
 return;
 }

static void _tcr_Prodcfg_ProdcfgFactory_delete (void *obj)
 {
 ::Prodcfg::ProdcfgFactory *	obj_ptr;
 obj_ptr = (::Prodcfg::ProdcfgFactory *) obj;
 ::CORBA::release(obj_ptr);
 }

static ::CORBA::TypeCode_ptr _TCC_prodcfg_c_HashLookup(
::CORBA::Short HashIndex,
OBB_TCTypeInfo * TCRtnInfo)
 {
 if  (TCRtnInfo != (void *) 0)
     memset ((void *)TCRtnInfo, 0, (size_t)sizeof(OBB_TCTypeInfo));
 switch (HashIndex)
    {
    case _TC_HASH_Prodcfg_IProdcfg :
	 if  (TCRtnInfo != (void *) 0)
	     {
	     TCRtnInfo->MarshRtn = _tcr_Prodcfg_IProdcfg_marsh;
	     TCRtnInfo->UnMarshRtn = _tcr_Prodcfg_IProdcfg_unmarsh;
	     TCRtnInfo->CopyRtn = _tcr_Prodcfg_IProdcfg_copy;
	     TCRtnInfo->DeleteRtn = _tcr_Prodcfg_IProdcfg_delete;
	     }
	 return (::CORBA::TypeCode_ptr) ::Prodcfg::_tc_IProdcfg;

    case _TC_HASH_Prodcfg_ProdcfgFactory :
	 if  (TCRtnInfo != (void *) 0)
	     {
	     TCRtnInfo->MarshRtn = _tcr_Prodcfg_ProdcfgFactory_marsh;
	     TCRtnInfo->UnMarshRtn = _tcr_Prodcfg_ProdcfgFactory_unmarsh;
	     TCRtnInfo->CopyRtn = _tcr_Prodcfg_ProdcfgFactory_copy;
	     TCRtnInfo->DeleteRtn = _tcr_Prodcfg_ProdcfgFactory_delete;
	     }
	 return (::CORBA::TypeCode_ptr) ::Prodcfg::_tc_ProdcfgFactory;

    default:
	 break;
    }
 return ::CORBA::TypeCode::_nil();
 }

static ::CORBA::TypeCode_ptr OBB_EXPORT _TCC_prodcfg_c_LookupByID(
const char * TypeCodeID,
void * TCRtnInfo)
 {
 ::CORBA::Short hash_index = -1;

 hash_index = OBB::OBB__method_hash(
	TypeCodeID, 2,
	(OBBHashTableEntry *)&_TCC_prodcfg_c_HT[0],
	(const char *) &_TCC_prodcfg_c_BT);
 if (hash_index < 0)
	return ::CORBA::TypeCode::_nil();

 return _TCC_prodcfg_c_HashLookup( hash_index, (OBB_TCTypeInfo *)TCRtnInfo );

 }


static OBB::OBBRegisteredTCRtns _TCC_prodcfg_c_rtcs (_TCC_prodcfg_c_LookupByID);

/* OBB_INTERFACE_TAG_BEGIN */
const ::CORBA::Char _Prodcfg_IProdcfg_ID [] = "IDL:Prodcfg/IProdcfg:1.0";

/* OBB_INTERFACE_TAG_END */
static const char * _Prodcfg_IProdcfg_tis [1] = {
	0
    };
static OBB::OBBRegisteredTypeIds _Prodcfg_IProdcfg_rtis (_Prodcfg_IProdcfg_ID, _Prodcfg_IProdcfg_tis);

Prodcfg::IProdcfg_var::IProdcfg_var()
  {
      ptr_ = Prodcfg::IProdcfg::_nil();
  }

Prodcfg::IProdcfg_var::IProdcfg_var(const Prodcfg::IProdcfg_var &a)
  {
      ptr_ = Prodcfg::IProdcfg::_duplicate(a.in());
  }
Prodcfg::IProdcfg_var & Prodcfg::IProdcfg_var::operator=(const Prodcfg::IProdcfg_var & a)
  {
     if (this != &a)
      {
         free();
         ptr_ = Prodcfg::IProdcfg::_duplicate(a.in());
      }
     return *this;
  }
Prodcfg::IProdcfg_ptr & Prodcfg::IProdcfg_var::out()
  {
     reset (Prodcfg::IProdcfg::_nil());
     return ptr_;
  }
Prodcfg::IProdcfg_ptr Prodcfg::IProdcfg_var::_retn()
  {
     // yield ownership of managed object reference
     Prodcfg::IProdcfg_ptr val = ptr_;
     ptr_ = Prodcfg::IProdcfg::_nil();
     return val;
  }
void Prodcfg::IProdcfg_var::free()
{
    ::CORBA::release(ptr_);
}


Prodcfg::IProdcfg_out::IProdcfg_out (Prodcfg::IProdcfg_ptr & p) : ptr_(p)
 {
     ptr_ = Prodcfg::IProdcfg::_nil();
 }
Prodcfg::IProdcfg_out::IProdcfg_out (Prodcfg::IProdcfg_var & p) : ptr_(p.ptr())
 {
    ::CORBA::release(ptr_);
    ptr_ = Prodcfg::IProdcfg::_nil();
 }
Prodcfg::IProdcfg_out & Prodcfg::IProdcfg_out::operator=(const Prodcfg::IProdcfg_var & a)
  {
     ptr_ = Prodcfg::IProdcfg::_duplicate(a.in());
     return *this;
  }


Prodcfg::IProdcfg_ptr
Prodcfg::IProdcfg::_narrow (::CORBA::Object_ptr obj, ::CORBA::Boolean isa)
{
    Prodcfg::IProdcfg_ptr   retobj;

    if (::CORBA::is_nil(obj))
      return Prodcfg::IProdcfg::_nil();

    void * retptr = obj->OBB__is_a_local(_Prodcfg_IProdcfg_ID);
    if (retptr)
      return Prodcfg::IProdcfg::_duplicate((Prodcfg::IProdcfg_ptr) retptr);
    if (isa)
      {
      if ( ! obj->_is_a(_Prodcfg_IProdcfg_ID) )
        return Prodcfg::IProdcfg::_nil();
      }


    retobj = new ORBNEWTHROW Prodcfg::IProdcfg(obj);
    if (retobj)
       return retobj;

    return Prodcfg::IProdcfg::_nil();
}


const char * Prodcfg::IProdcfg::_get_interface_name()
{
    return _Prodcfg_IProdcfg_ID;
}

Prodcfg::IProdcfg::IProdcfg(::CORBA::Object_ptr obj)
{
    if (obj) {
	OBB__SetObjRef(obj->OBB__GetObjRef());
	pORB = obj->OBB__get_orb();
    }
    return;
}




/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveProdSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveProdSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveProdSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	13,             // operation name length 
	"saveProdSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveProdCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveProdCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveProdCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	16,             // operation name length 
	"saveProdCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveProdSpecCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveProdSpecCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveProdSpecCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	20,             // operation name length 
	"saveProdSpecCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProdSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProdSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProdSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"queryProdSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProvinceProdSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProvinceProdSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProvinceProdSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	22,             // operation name length 
	"queryProvinceProdSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProdCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProdCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProdCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	17,             // operation name length 
	"queryProdCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseSpecCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseSpecCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseSpecCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	21,             // operation name length 
	"queryMdseSpecCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveMdseSpecCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveMdseSpecCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveMdseSpecCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	20,             // operation name length 
	"saveMdseSpecCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveMdseSpecCatalogNode
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveMdseSpecCatalogNode.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveMdseSpecCatalogNode (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	24,             // operation name length 
	"saveMdseSpecCatalogNode", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"queryMdseSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveMdseSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveMdseSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveMdseSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	13,             // operation name length 
	"saveMdseSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProvinceMdseSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProvinceMdseSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProvinceMdseSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	22,             // operation name length 
	"queryProvinceMdseSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::copyProd
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation copyProd.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::copyProd (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	9,             // operation name length 
	"copyProd", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::copyMdseSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation copyMdseSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::copyMdseSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	13,             // operation name length 
	"copyMdseSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProdSpecByCondition
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProdSpecByCondition.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProdSpecByCondition (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	25,             // operation name length 
	"queryProdSpecByCondition", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseSpecByCondition
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseSpecByCondition.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseSpecByCondition (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	25,             // operation name length 
	"queryMdseSpecByCondition", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::deleteProdSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation deleteProdSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::deleteProdSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"deleteProdSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::deleteMdseSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation deleteMdseSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::deleteMdseSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"deleteMdseSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::executeMdseSpecDefineFlow
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation executeMdseSpecDefineFlow.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::executeMdseSpecDefineFlow (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	26,             // operation name length 
	"executeMdseSpecDefineFlow", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::executeProdSpecDefineFlow
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation executeProdSpecDefineFlow.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::executeProdSpecDefineFlow (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	26,             // operation name length 
	"executeProdSpecDefineFlow", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::executePreferSpecDefineFlow
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation executePreferSpecDefineFlow.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::executePreferSpecDefineFlow (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	28,             // operation name length 
	"executePreferSpecDefineFlow", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::executePriceSpecDefineFlow
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation executePriceSpecDefineFlow.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::executePriceSpecDefineFlow (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	27,             // operation name length 
	"executePriceSpecDefineFlow", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::executeSalePlanDefineFlow
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation executeSalePlanDefineFlow.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::executeSalePlanDefineFlow (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	26,             // operation name length 
	"executeSalePlanDefineFlow", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryAuditHistory
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryAuditHistory.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryAuditHistory (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	18,             // operation name length 
	"queryAuditHistory", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPriceCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPriceCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPriceCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	18,             // operation name length 
	"queryPriceCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePriceCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePriceCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePriceCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	17,             // operation name length 
	"savePriceCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPricePlan
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPricePlan.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPricePlan (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"queryPricePlan", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePricePlan
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePricePlan.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePricePlan (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"savePricePlan", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPreferPriceSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPreferPriceSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPreferPriceSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	21,             // operation name length 
	"queryPreferPriceSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePreferPriceSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePreferPriceSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePreferPriceSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	20,             // operation name length 
	"savePreferPriceSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProvincePreferPriceSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProvincePreferPriceSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProvincePreferPriceSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	29,             // operation name length 
	"queryProvincePreferPriceSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryDisobeyProc
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryDisobeyProc.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryDisobeyProc (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	17,             // operation name length 
	"queryDisobeyProc", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveAfterSaleProc
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveAfterSaleProc.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveAfterSaleProc (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	18,             // operation name length 
	"saveAfterSaleProc", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryFeaDispForConfig
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryFeaDispForConfig.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryFeaDispForConfig (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	22,             // operation name length 
	"queryFeaDispForConfig", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProcType
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProcType.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProcType (
    const char * str_input,
    ::CORBA::String_out str_output)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_input;
 _arg_ptr->Name=(char *)"str_input";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_output.ptr();
 _arg_ptr->Name=(char *)"str_output";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"queryProcType", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::buildProcType
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation buildProcType.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::buildProcType (
    const char * str_input,
    ::CORBA::String_out str_output)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_input;
 _arg_ptr->Name=(char *)"str_input";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_output.ptr();
 _arg_ptr->Name=(char *)"str_output";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"buildProcType", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePriceSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePriceSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePriceSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"savePriceSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPriceSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPriceSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPriceSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"queryPriceSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProvincePriceSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProvincePriceSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProvincePriceSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	23,             // operation name length 
	"queryProvincePriceSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseGroup
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseGroup.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseGroup (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"queryMdseGroup", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::invalidProdMdseSpec
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation invalidProdMdseSpec.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::invalidProdMdseSpec (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	20,             // operation name length 
	"invalidProdMdseSpec", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveMdseSaleRight
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveMdseSaleRight.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveMdseSaleRight (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	18,             // operation name length 
	"saveMdseSaleRight", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryStaffMdseSaleRight
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryStaffMdseSaleRight.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryStaffMdseSaleRight (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	24,             // operation name length 
	"queryStaffMdseSaleRight", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::querySaleMdseSpecCatalogByStaff
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation querySaleMdseSpecCatalogByStaff.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::querySaleMdseSpecCatalogByStaff (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	32,             // operation name length 
	"querySaleMdseSpecCatalogByStaff", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseSpecInfoForCfg
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseSpecInfoForCfg.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseSpecInfoForCfg (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	24,             // operation name length 
	"queryMdseSpecInfoForCfg", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryCatalogTemplate
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryCatalogTemplate.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryCatalogTemplate (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	21,             // operation name length 
	"queryCatalogTemplate", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveCatalogTemplate
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveCatalogTemplate.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveCatalogTemplate (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	20,             // operation name length 
	"saveCatalogTemplate", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryTemplate
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryTemplate.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryTemplate (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"queryTemplate", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveTemplate
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveTemplate.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveTemplate (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	13,             // operation name length 
	"saveTemplate", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveAreaSaleMdseSpecCatalog
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveAreaSaleMdseSpecCatalog.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveAreaSaleMdseSpecCatalog (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	28,             // operation name length 
	"saveAreaSaleMdseSpecCatalog", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveFeaDisp
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveFeaDisp.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveFeaDisp (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	12,             // operation name length 
	"saveFeaDisp", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryStaffProdConfigRight
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryStaffProdConfigRight.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryStaffProdConfigRight (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	26,             // operation name length 
	"queryStaffProdConfigRight", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveStaffProdConfigRight
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveStaffProdConfigRight.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveStaffProdConfigRight (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	25,             // operation name length 
	"saveStaffProdConfigRight", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveMdseGroupMdse
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveMdseGroupMdse.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveMdseGroupMdse (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	18,             // operation name length 
	"saveMdseGroupMdse", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseGroupMdse
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseGroupMdse.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseGroupMdse (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	19,             // operation name length 
	"queryMdseGroupMdse", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveMdseGroup
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveMdseGroup.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveMdseGroup (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"saveMdseGroup", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseCatalogCodeAndName
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseCatalogCodeAndName.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseCatalogCodeAndName (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	28,             // operation name length 
	"queryMdseCatalogCodeAndName", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseByCondition
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseByCondition.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseByCondition (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	21,             // operation name length 
	"queryMdseByCondition", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryConfigTreeByStaffId
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryConfigTreeByStaffId.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryConfigTreeByStaffId (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	25,             // operation name length 
	"queryConfigTreeByStaffId", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveConfigInfo
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveConfigInfo.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveConfigInfo (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"saveConfigInfo", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryConfigRightByStaffId
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryConfigRightByStaffId.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryConfigRightByStaffId (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	26,             // operation name length 
	"queryConfigRightByStaffId", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveConfigRight
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveConfigRight.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveConfigRight (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	16,             // operation name length 
	"saveConfigRight", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryFeaGroupByMdseSpecId
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryFeaGroupByMdseSpecId.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryFeaGroupByMdseSpecId (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	26,             // operation name length 
	"queryFeaGroupByMdseSpecId", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePmRelaTypeOpRela
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePmRelaTypeOpRela.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePmRelaTypeOpRela (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	21,             // operation name length 
	"savePmRelaTypeOpRela", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPmRelaTypeOpRela
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPmRelaTypeOpRela.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPmRelaTypeOpRela (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	22,             // operation name length 
	"queryPmRelaTypeOpRela", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePmRelaTypeProcRela
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePmRelaTypeProcRela.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePmRelaTypeProcRela (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	23,             // operation name length 
	"savePmRelaTypeProcRela", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPmRelaTypeProcRela
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPmRelaTypeProcRela.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPmRelaTypeProcRela (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	24,             // operation name length 
	"queryPmRelaTypeProcRela", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryAffterSaleRestrictRule
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryAffterSaleRestrictRule.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryAffterSaleRestrictRule (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	28,             // operation name length 
	"queryAffterSaleRestrictRule", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveAffterSaleRestrictRule
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveAffterSaleRestrictRule.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveAffterSaleRestrictRule (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	27,             // operation name length 
	"saveAffterSaleRestrictRule", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryLogInfo
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryLogInfo.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryLogInfo (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	13,             // operation name length 
	"queryLogInfo", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryLogDetailInfo
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryLogDetailInfo.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryLogDetailInfo (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	19,             // operation name length 
	"queryLogDetailInfo", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveProdCommon
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveProdCommon.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveProdCommon (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"saveProdCommon", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProdCommon
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProdCommon.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProdCommon (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	16,             // operation name length 
	"queryProdCommon", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryProdCommonForEdit
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryProdCommonForEdit.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryProdCommonForEdit (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	23,             // operation name length 
	"queryProdCommonForEdit", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::querySystemBusinessScope
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation querySystemBusinessScope.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::querySystemBusinessScope (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	25,             // operation name length 
	"querySystemBusinessScope", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryDimension
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryDimension.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryDimension (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"queryDimension", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveDimension
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveDimension.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveDimension (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"saveDimension", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryDimensionTree
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryDimensionTree.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryDimensionTree (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	19,             // operation name length 
	"queryDimensionTree", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveDimensionTree
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveDimensionTree.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveDimensionTree (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	18,             // operation name length 
	"saveDimensionTree", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::getRuleCfgPrior
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation getRuleCfgPrior.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::getRuleCfgPrior (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	16,             // operation name length 
	"getRuleCfgPrior", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveRuleCfgPrior
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveRuleCfgPrior.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveRuleCfgPrior (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	17,             // operation name length 
	"saveRuleCfgPrior", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::distributeMdseByDimension
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation distributeMdseByDimension.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::distributeMdseByDimension (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	26,             // operation name length 
	"distributeMdseByDimension", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryStaffMdseProc
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryStaffMdseProc.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryStaffMdseProc (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	19,             // operation name length 
	"queryStaffMdseProc", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveStaffMdseProc
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveStaffMdseProc.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveStaffMdseProc (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	18,             // operation name length 
	"saveStaffMdseProc", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPmOperTip
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPmOperTip.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPmOperTip (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	15,             // operation name length 
	"queryPmOperTip", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePmOperTip
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePmOperTip.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePmOperTip (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"savePmOperTip", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveProdCommonForAuto
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveProdCommonForAuto.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveProdCommonForAuto (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	22,             // operation name length 
	"saveProdCommonForAuto", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::synchExtCodeAndInterCode
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation synchExtCodeAndInterCode.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::synchExtCodeAndInterCode (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	25,             // operation name length 
	"synchExtCodeAndInterCode", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::savePreferStopState
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation savePreferStopState.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::savePreferStopState (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	20,             // operation name length 
	"savePreferStopState", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryPreferStopState
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryPreferStopState.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryPreferStopState (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	21,             // operation name length 
	"queryPreferStopState", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::queryMdseFolderRela
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation queryMdseFolderRela.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::queryMdseFolderRela (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	20,             // operation name length 
	"queryMdseFolderRela", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::saveMdseFolderRela
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation saveMdseFolderRela.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::saveMdseFolderRela (
    const char * str_inxml,
    ::CORBA::String_out str_outxml)

{
  ::CORBA::ULong    _argcount = 3;
  OBBArgument                 _args[3];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_inxml;
 _arg_ptr->Name=(char *)"str_inxml";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_outxml.ptr();
 _arg_ptr->Name=(char *)"str_outxml";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	19,             // operation name length 
	"saveMdseFolderRela", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}

/*
 *
 *  FUNCTION NAME: 	Prodcfg::IProdcfg::CommonService
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation CommonService.
 *       (Interface : IProdcfg)
 *
 */


::CORBA::Short Prodcfg::IProdcfg::CommonService (
    const char * str_methname,
    const char * str_input,
    ::CORBA::String_out str_output)

{
  ::CORBA::ULong    _argcount = 4;
  OBBArgument                 _args[4];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::CORBA::Short                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::CORBA::_tc_short;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_methname;
 _arg_ptr->Name=(char *)"str_methname";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) & str_input;
 _arg_ptr->Name=(char *)"str_input";
 _arg_ptr->Flags=CORBA::ARG_IN;
 _arg_ptr++;

 _arg_ptr->TC=::CORBA::_tc_string;
 _arg_ptr->ValuePtr=(void *) &str_output.ptr();
 _arg_ptr->Name=(char *)"str_output";
 _arg_ptr->Flags=CORBA::ARG_OUT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	14,             // operation name length 
	"CommonService", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}
/* OBB_INTERFACE_TAG_BEGIN */
const ::CORBA::Char _Prodcfg_ProdcfgFactory_ID [] = "IDL:Prodcfg/ProdcfgFactory:1.0";

/* OBB_INTERFACE_TAG_END */
static const char * _Prodcfg_ProdcfgFactory_tis [1] = {
	0
    };
static OBB::OBBRegisteredTypeIds _Prodcfg_ProdcfgFactory_rtis (_Prodcfg_ProdcfgFactory_ID, _Prodcfg_ProdcfgFactory_tis);

Prodcfg::ProdcfgFactory_var::ProdcfgFactory_var()
  {
      ptr_ = Prodcfg::ProdcfgFactory::_nil();
  }

Prodcfg::ProdcfgFactory_var::ProdcfgFactory_var(const Prodcfg::ProdcfgFactory_var &a)
  {
      ptr_ = Prodcfg::ProdcfgFactory::_duplicate(a.in());
  }
Prodcfg::ProdcfgFactory_var & Prodcfg::ProdcfgFactory_var::operator=(const Prodcfg::ProdcfgFactory_var & a)
  {
     if (this != &a)
      {
         free();
         ptr_ = Prodcfg::ProdcfgFactory::_duplicate(a.in());
      }
     return *this;
  }
Prodcfg::ProdcfgFactory_ptr & Prodcfg::ProdcfgFactory_var::out()
  {
     reset (Prodcfg::ProdcfgFactory::_nil());
     return ptr_;
  }
Prodcfg::ProdcfgFactory_ptr Prodcfg::ProdcfgFactory_var::_retn()
  {
     // yield ownership of managed object reference
     Prodcfg::ProdcfgFactory_ptr val = ptr_;
     ptr_ = Prodcfg::ProdcfgFactory::_nil();
     return val;
  }
void Prodcfg::ProdcfgFactory_var::free()
{
    ::CORBA::release(ptr_);
}


Prodcfg::ProdcfgFactory_out::ProdcfgFactory_out (Prodcfg::ProdcfgFactory_ptr & p) : ptr_(p)
 {
     ptr_ = Prodcfg::ProdcfgFactory::_nil();
 }
Prodcfg::ProdcfgFactory_out::ProdcfgFactory_out (Prodcfg::ProdcfgFactory_var & p) : ptr_(p.ptr())
 {
    ::CORBA::release(ptr_);
    ptr_ = Prodcfg::ProdcfgFactory::_nil();
 }
Prodcfg::ProdcfgFactory_out & Prodcfg::ProdcfgFactory_out::operator=(const Prodcfg::ProdcfgFactory_var & a)
  {
     ptr_ = Prodcfg::ProdcfgFactory::_duplicate(a.in());
     return *this;
  }


Prodcfg::ProdcfgFactory_ptr
Prodcfg::ProdcfgFactory::_narrow (::CORBA::Object_ptr obj, ::CORBA::Boolean isa)
{
    Prodcfg::ProdcfgFactory_ptr   retobj;

    if (::CORBA::is_nil(obj))
      return Prodcfg::ProdcfgFactory::_nil();

    void * retptr = obj->OBB__is_a_local(_Prodcfg_ProdcfgFactory_ID);
    if (retptr)
      return Prodcfg::ProdcfgFactory::_duplicate((Prodcfg::ProdcfgFactory_ptr) retptr);
    if (isa)
      {
      if ( ! obj->_is_a(_Prodcfg_ProdcfgFactory_ID) )
        return Prodcfg::ProdcfgFactory::_nil();
      }


    retobj = new ORBNEWTHROW Prodcfg::ProdcfgFactory(obj);
    if (retobj)
       return retobj;

    return Prodcfg::ProdcfgFactory::_nil();
}


const char * Prodcfg::ProdcfgFactory::_get_interface_name()
{
    return _Prodcfg_ProdcfgFactory_ID;
}

Prodcfg::ProdcfgFactory::ProdcfgFactory(::CORBA::Object_ptr obj)
{
    if (obj) {
	OBB__SetObjRef(obj->OBB__GetObjRef());
	pORB = obj->OBB__get_orb();
    }
    return;
}




/*
 *
 *  FUNCTION NAME: 	Prodcfg::ProdcfgFactory::findIProdcfg
 *
 *  FUNCTIONAL DESCRIPTION:
 *
 *      Client stub function for operation findIProdcfg.
 *       (Interface : ProdcfgFactory)
 *
 */


::Prodcfg::IProdcfg_ptr Prodcfg::ProdcfgFactory::findIProdcfg ()

{
  ::CORBA::ULong    _argcount = 1;
  OBBArgument                 _args[1];
  OBBArgument                 *_arg_ptr= _args;
  ::CORBA::Request_var          _request;
  ::Prodcfg::IProdcfg_ptr                 _resultval;
 /*..............................................................*/


 _arg_ptr->TC=::Prodcfg::_tc_IProdcfg;
 _arg_ptr->ValuePtr=(void *) & _resultval;
 _arg_ptr->Name=(char *)"_result";
 _arg_ptr->Flags=CORBA_ARG_OUT | OBB_RESULT;
 _arg_ptr++;


 // Create request.
 _request = OBB::OBB__create_request (
	this,           // object
	13,             // operation name length 
	"findIProdcfg", // operation name 
	_argcount,      // argument count
	_args,		// argument list 
	1,		// response expected 
	0,		// context object
	0);	        // context list

 // Invoke method.

 _request->OBB__invoke ();


 /* And return the result. */
 return _resultval;

}
